﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FizzBuzz.Service;

namespace FizzBuzz.ServiceImpl.Validation
{
    public class FizzBuzzValidationError:IValidationError
    {
        public int Input { get; set; }
        public string Text { get; set; }
        
        public string DisplayError()
        {
            return string.Format(Text, Input);
        }
    }
}
